Skip to content

Conversation

@kuzemchik
Copy link

Not sure if code is good, but it works.

@trentrichardson
Copy link
Owner

Ah, ok, this essentially does the same that is accomplished on line 166 of the dev branch when you call

$('#tp').timepicker('option','minDate',new Date());

Would be nice if with this addition the lines on 166 could be removed and allow your addition to handle this instead. (if it can handle the option via object creation and object updates:

// timepicker creation
$('#tp').timepicker({ 'minDate': new Date() });

// option update
$('#tp').timepicker('option','minDate',new Date());

Could you by chance issue this pull from the dev branch? I'll be happy to add it.

@trentrichardson
Copy link
Owner

I added it to dev, however i was unable to get it to work myself, but it DOES need to be in there. I will close this pull request and maybe try to sort it out..

@kuzemchik
Copy link
Author

I'll try to rewrite it in a week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants